package com.aiyige.share.model;

public class ShareThirdPlatformItem {
    public static final int TYPE_FRIEND = 1;
    public static final int TYPE_QQ = 2;
    public static final int TYPE_WEIBO = 3;
    public static final int TYPE_LINK = 4;
    public static final int TYPE_REPORT = 5;
    public static final int TYPE_WEIXIN = 6;
    int type;

    public ShareThirdPlatformItem() {
    }

    private ShareThirdPlatformItem(Builder builder) {
        setType(builder.type);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public static final class Builder {
        private int type;

        private Builder() {
        }

        public Builder type(int val) {
            type = val;
            return this;
        }

        public ShareThirdPlatformItem build() {
            return new ShareThirdPlatformItem(this);
        }
    }
}
